﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Base.Data.Migrations
{
    public partial class altert_memberaddiqcmes : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "area_id",
                table: "t_member",
                type: "character varying(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "iqc_power_level",
                table: "t_member",
                type: "integer",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<string>(
                name: "responsible_id",
                table: "t_member",
                type: "character varying(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "superior_lcp_code",
                table: "t_member",
                type: "character varying(20)",
                maxLength: 20,
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "area_id",
                table: "t_member");

            migrationBuilder.DropColumn(
                name: "iqc_power_level",
                table: "t_member");

            migrationBuilder.DropColumn(
                name: "responsible_id",
                table: "t_member");

            migrationBuilder.DropColumn(
                name: "superior_lcp_code",
                table: "t_member");
        }
    }
}
